FROM centos:7.9.2009
# 基于 centos7.9 

MAINTAINER hecf 

# 复制解压jdk
ADD jdk-8u231-linux-x64.tar.gz  /opt/
# jdk env
ENV JAVA_HOME=/opt/jdk1.8.0_231
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar 
ENV PATH=$JAVA_HOME/bin:$PATH

# 复制 zookeeper
ADD apache-zookeeper-3.6.3-bin.tar.gz /opt/